package com.zscat.mallplus.center.entity;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.zscat.mallplus.utils.BaseEntity;

import cn.afterturn.easypoi.excel.annotation.Excel;

/**
 * 会员等级设置对象 center_level
 * 
 * @author Wsen
 * @date 2020-09-24
 */
public class CenterLevel extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 等级 */
    @Excel(name = "等级")
    private String level;

    /** 积分 */
    @Excel(name = "积分")
    private Long score;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setLevel(String level) 
    {
        this.level = level;
    }

    public String getLevel() 
    {
        return level;
    }
    public void setScore(Long score) 
    {
        this.score = score;
    }

    public Long getScore() 
    {
        return score;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("level", getLevel())
            .append("score", getScore())
            .toString();
    }
}
